package edu.api.packing_api;

public class Demo3 {
    public static void main(String[] args) {
        //比较Integer
        Integer i = new Integer("100");
        Integer j = new Integer(100);
        boolean b = i.equals(j);
        System.out.println("b = " + b);
        int c = i.compareTo(j);
        System.out.println("c = " + c);
        int m = i - j;
        System.out.println("m = " + m);
    }

}
